Computational Aspects of the UV Flash Problem for Dynamic Optimization and Nonlinear Model Predictive Control
نویسندگان
چکیده
The UV flash problem is ubiquitous in process engineering for both dynamic simulation and dynamic optimization of vapor-liquid equilibrium processes. Such vapor-liquid equilibrium governed processes include flash separators, distillation columns, as well as enhanced oil recovery strategies for production of oil from an oil reservoir. A core modeling element in all these applications is the UV flash problem which describes equilibrium between the phases of a mixture. Coupling the flash equilibrium conditions with conservation of mass and energy results in a differential-algebraic model. We present an adjoint gradient-based single shooting algorithm for dynamic optimization of processes that involve UV flash constraints. This algorithm is relevant for nonlinear model predictive control of vapor-liquid equilibrium governed processes. We test the algorithm using two different approaches for numerical integration of the differential-algebraic equations. In one approach, the equilibrium equations obtained from the flash problem are solved separately from the conservation equations resulting in a set of nested loops. In the alternative approach, the equilibrium and conservation equations are solved simultaneously, thus in general reducing the total number of loops. Numerical integration of the differential-algebraic system is a key computational part of the dynamic optimization algorithm and the efficiency relies heavily on the underlying linear solver and thermodynamic library. Depending on the size of the system, evaluating thermodynamic properties may be significantly more time-consuming than solving the linear systems and thus becomes the bottleneck with regard to performance. We consider a numerical example involving dynamical UV flash constraints. The UV flash is considered particularly difficult as none of the intensive variables, such as pressure or temperature, are specified. This example illustrates that simultaneous numerical integration is faster than nested numerical integration and that the computation time of the underlying thermodynamic library is more than an order of magnitude higher than that of solving the linear systems arising in the numerical integration. The algorithm is implemented in Matlab for both types of numerical integration and in C using simultaneous numerical integration together with a thermodynamic library implemented in Fortran. The single shooting algorithm transforms the infinitedimensional dynamic optimization problem into a nonlinear program which may be solved using appropriate software libraries. The efficiency of the dynamic optimization algorithm is directly related to the efficiency of the optimization algorithm with respect to convergence, since every iteration will require up to several integrations of the differential-algebraic equations and computation of corresponding gradients. There exists a large number of commercial and noncommercial optimization libraries for nonlinear programs. We compare the efficiency of Matlabs fmincon, the open-source IPOPT library as well as the commercial libraries, KNITRO and NPSOL. We consider various combinations of using Intel and GNU compilers for the C and Fortran code as well as using Netlibs LAPACK library and Intels MKL for solving the linear systems. The performance tests show that the commercial software yields the best performance. More specifically a combination of using NPSOL together with Intel compilers and Intel MKL gives an improvement in performance of around sixty compared to a pure Matlab implementation.
منابع مشابه
Dynamic Optimization of Uv Flash Processes
UV flash processes, also referred to as isoenergetic-isochoric flash processes, occur for dynamic simulation and optimization of vapor-liquid equilibrium processes. Dynamic optimization and nonlinear model predictive control of distillation columns, certain two-phase flow problems, as well as oil reservoirs with significant compositional and thermal effects may be conducted as dynamic optimizat...
متن کاملImproved Optimization Process for Nonlinear Model Predictive Control of PMSM
Model-based predictive control (MPC) is one of the most efficient techniques that is widely used in industrial applications. In such controllers, increasing the prediction horizon results in better selection of the optimal control signal sequence. On the other hand, increasing the prediction horizon increase the computational time of the optimization process which make it impossible to be imple...
متن کاملHybrid model predictive control of a nonlinear three-tank system based on the proposed compact form of piecewise affine model
In this paper, a predictive control based on the proposed hybrid model is designed to control the fluid height in a three-tank system with nonlinear dynamics whose operating mode depends on the instantaneous amount of system states. The use of nonlinear hybrid model in predictive control leads to a problem of mixed integer nonlinear programming (MINLP) which is very complex and time consuming t...
متن کاملControlling Nonlinear Processes, using Laguerre Functions Based Adaptive Model Predictive Control (AMPC) Algorithm
Laguerre function has many advantages such as good approximation capability for different systems, low computational complexity and the facility of on-line parameter identification. Therefore, it is widely adopted for complex industrial process control. In this work, Laguerre function based adaptive model predictive control algorithm (AMPC) was implemented to control continuous stirred tank rea...
متن کاملاستراتژی کنترل پیش بین برای مدیریت توان در خودروی الکتریکی هیبرید موازی
In this paper, a hybrid model-based nonlinear optimal control method is used to compute the optimal power distribution and power management in parallel hybrid electric vehicles. In the power management strategy, for optimal power distribution between the internal combustion engine, electrical system and the other subsystems, nonlinear predictive control is applied. In achieving this goal, a hie...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2016